import _ from 'lodash'
const echartsDom:any[]=[]

export function echartsRessize(eDom:any){
    echartsDom.push(eDom)
    const fn=()=>{
        console.log('窗口大小调整')
        echartsDom.forEach(item=>item.resize())
    }
    window.onresize=_.debounce(fn,100) // 去抖动
}